﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BDShop.Entities;
using BDShop.Framework.Caching;
using BDShop.Configuration;
using BDShop.Framework;

namespace BDShop.Business.Cache
{
    public class SliderCache : BaseCache<List<Slider>>
    {
        public SliderCache()
            : base(BDShopConfiguration.Cache.CacheSlider, SliderService.GetListSliderCacheModel, true, CacheManager.GetFilePathFO(CacheEnum.slider))
        {
            
        }

        public static SliderCache Instance
        {
            get
            {
                return SingletonBase<SliderCache>.Instance;
            }
        }
    }
}
